package com.earl.gsm.domain.gsm.equipment;

import java.io.Serializable;

import javax.persistence.Table;

import com.earl.gsm.commons.domain.AbstractAuditingEntity;
import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "RepositoryInfo")
public class MaintainTable extends AbstractAuditingEntity<Long> implements Serializable {

	// 维修表id
	private Long id;

	// 维修 器材/数量 （key-value)
	private String maintainOption;

	// 已维修 器材/数量 （key-value)
	private String repairable;

	// 不可维修（完全损坏）器材/数量 （key-value)
	private String unrepairable;

	// 维修人员
	private String principal;

	// 维修时间
	private String maintainTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMaintainOption() {
		return maintainOption;
	}

	public void setMaintainOption(String maintainOption) {
		this.maintainOption = maintainOption;
	}


	public String getRepairable() {
		return repairable;
	}

	public void setRepairable(String repairable) {
		this.repairable = repairable;
	}

	public String getUnrepairable() {
		return unrepairable;
	}

	public void setUnrepairable(String unrepairable) {
		this.unrepairable = unrepairable;
	}

	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	public String getMaintainTime() {
		return maintainTime;
	}

	public void setMaintainTime(String maintainTime) {
		this.maintainTime = maintainTime;
	}

	@Override
	public String toString() {
		return "MaintainTable [id=" + id + ", maintainOption=" + maintainOption + ", repairable="
				+ repairable + ", unrepairable=" + unrepairable + ", principal=" + principal + ", maintainTime="
				+ maintainTime + "]";
	}

}
